package com.gs.orderservice.controller;

import com.gs.orderservice.feign.UserServiceFeign;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ProjectName: springcloudapollo20190719
 * @Package: com.gs.orderservice.controller
 * @Description: java类作用描述
 * @Author: guoshuai
 * @CreateDate: 2019/7/24 14:40
 * @UpdateUser: guoshuai
 * @UpdateDate: 2019/7/24 14:40
 * @UpdateRemark: The modified content
 * @Version: 1.0
 **/
@RestController
public class OrderController {
    @Autowired
    private UserServiceFeign userServiceFeign;

    @RequestMapping("/getOrderForUser")
    public String getOderForUserInfo(){
        return userServiceFeign.getUserInfo();
    }
}
